<%@ page language="java" contentType="text/html" pageEncoding="utf-8" import="java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
        String[] colors={"Green","Cyan","Black","Red","Yellow","Pink"};
        for(int i=0;i<colors.length;i++)
        {
%>
<hr width="500px" color="<%=colors[i] %>" ></hr>
            
<%  }%> 
</body>
</html>